package com.siyu.tickets.dao;

import java.util.List;

import com.siyu.common.hibernate3.Updater;
import com.siyu.common.page.Pagination;
import com.siyu.tickets.entity.Element;

public interface ElementDao {

	public Pagination getPage(String name, String type, Boolean enable, int pageNo, int pageSize);

	public List<Element> findListByType(String type);

	public Element findById(Integer id);

	public Element save(Element bean);

	public Element updateByUpdater(Updater<Element> updater);

	public Element deleteById(Integer id);

}
